package com.topscomm.pm;

public class PmSystemConst {
	/**
	 * @description:订单审核状态枚举
	 * @author: zhanglongfei
	 * @date: 2020年6月28日下午5:32:11
	 * @modify:
	 */
	public static class InvAuditStateEnum {
		public static int Init = 0;// 待审核
		public static int Back = 10;// 审核不通过
		public static int Del = 20;// 废弃
		public static int Success = 90;// 审核通过
	}
	/**
	 * @Description: 查询条件类型
	 * @Author: hudeyong
	 * @Date: 2021/7/01
	 * @Version: 1.0
	 */
	public static class SearchConditionType {
		public static String inType = "in";
		public static String equalsType = "equal";
		public static String likeType = "like";
		public static String numberUpType = "uperequal";// 大于等于
		public static String numberLowerType = "lowerequal";// 小于等于
		public static String satrtTimeType = "satrtTime";// 开始时间
		public static String endTimeType = "endTime";// 开始时间
	}
	/**
	 * @description:开票类型
	 * @author: shenyouyi
	 * @date: 2020-06-30 17:29:00
	 * @modify:
	 */
	public static class CreateTypeEnum {
		public static String BlueFontInvoice = "0"; // 蓝字发票
		public static String RedFontInvoice = "1"; // 红字发票
	}

	/**
	 * @description:发票类型
	 * @author: shenyouyi
	 * @date: 2020-06-30 17:29:31
	 * @modify:
	 */
	public static class BillTypeEnum {
		public static String SpecialInvoice = "0"; // 专票
		public static String CustomInvoice = "2"; // 普票
	}

	/**
	 * @description:推送状态
	 * @author: shenyouyi
	 * @date: 2020-07-01 09:22:55
	 * @modify:
	 */
	public static class InvoiceCancelStatusEnum {
		public static String Enabled = "0"; // 有效
		public static String Canceled = "1"; // 失效
		public static String Canceling = "2";// 失效中
	}

	/**
	 * @description:启用状态
	 * @author: shenyouyi
	 * @date: 2020-07-01 09:40:41
	 * @modify:
	 */
	public static class EnableEnum {
		public static int Unenabled = 0; // 无效
		public static int Enabled = 1; // 有效
	}

	/**
	 * @author: shenyouyi
	 * @date: 2020-09-26
	 * @description: 审批类型
	 * @modify:
	 */
	public static class ApprovalTypeEnum {
		public static String APPROVAL_SUCCESS = "1"; // 审核通过
		public static String APPROVAL_FAIL = "2"; // 审核不通过
	}

	/**
	 * @description:消息通知类型
	 * @author: shenyouyi
	 * @date: 2020-07-02 10:29:30
	 * @modify:
	 */
	public static class SysApiNoticeTypeEnum {
		public static String InvoiceInfoChange = "invoiceInfoChange"; // 发票信息更新
		public static String LogisticsInfoChange = "logisticsInfoChange"; // 物流信息更新
		public static String InvoiceApplyDrop = "invoiceApplyDrop"; // 申请单作废
		public static String CheckSuccess = "checkSuccess"; // 申请单审核通过
		public static String CheckFailed = "checkFailed";// 申请单审核驳回
	}

	/**
	 * @author: shenyouyi
	 * @date: 2020/7/9
	 * @return
	 * @description: 发票系统业务类型
	 * @modify:
	 */
	public static class SysApiSourceTypeEnum {
		public static String InvoiceBillApply = "1";// 发票申请单管理
	}

	/**
	 * @author: shenyouyi
	 * @date: 2020/7/18
	 * @return
	 * @description: 来源单据类型
	 * @modify:
	 */
	public static class DocTypeEnum {
		public static String New = "1"; // 新增
		public static String cancel = "2"; // 作废
		public static String cancelReOpen = "3"; // 作废重开
	}
	/**
	 * @author: 李万鹏
	 * @date: 2020/10/31
	 * @return
	 * @description: 要替换掉的二级部门名称中的内容
	 * @modify:
	 */
	public static class DeptNameReplaceStrEnum {
		public static String ReplaceStr = "营销服务中心"; // 服务营销中心将被替换
	}

	/**
	 * @author: wudaliang
	 * @date: 2021-09-11
	 * @description: 工程系统通过数据服务平台获取CRM数据的token
	 * @return:
	 * @modify:
	 */
	public static final String GetInfoFromCrmToken="DataServiceUrl_Token";


	/**
	 * @author: wudaliang
	 * @date: 2021-09-13
	 * @description: 工程系统通过数据服务平台获取CRM数据的templateid
	 * @return:
	 * @modify:
	 */
	public static final String GetInfoFromCrmTemplateId="GetAreaInfoTemplateId";

	/**
	 * @author: wudaliang
	 * @date: 2021-09-13
	 * @description:
	 * @return:
	 * @modify:
	 */
	public static final String GetInfoFromCrmUrl="GetAreaInfoFromCrmUrl";


	/**
	 * @author: wudaliang
	 * @date: 2021-09-22
	 * @description:
	 * @return: 省区公共编码
	 * @modify:
	 */
	public static final String AreaPublic="AreaPublicCode";


	/**
	 * @author: wudaliang
	 * @date: 2021-09-27
	 * @description: 数据服务平台token
	 * @return:
	 * @modify:
	 */
	public static final String DataServiceToken="DataServiceUrl_Token";


	/**
	 * @author: wudaliang
	 * @date: 2021-09-27
	 * @description: 数据服务平台请求路由
	 * @return:
	 * @modify:
	 */
	public static final String DataServiceUrl="DataServiceUrl";

	/**
	 * @author: wudaliang
	 * @date: 2021-09-27
	 * @description: 工程系统查询erp中在该组织下是否存在该项目号的templateid
	 * @return:
	 * @modify:
	 */
	public static final String GetIfExistsErpItemCode="GetIfExistsErpItemCodeTemplateid";



	/**
	 * @author: wudaliang
	 * @date: 2022-01-20
	 * @description:  获取ERP账期信息的模板ID
	 * @return:
	 * @modify:
	 */
	public static final String ErpAccountTemplateId="ErpAccountTemplateId";
	/**
	 * @author: houyuhang
	 * @date: 2023/02/01
	 * @return
	 * @description: 出货单创建、出货单审批、应收单创建
	 * @modify:
	 */
	public static class BillSendExceptionType {
		public static String ShipCreate = "1"; // 出货单创建
		public static String ShipApproval = "2"; // 出货单审批
		public static String ArbillCreate = "3"; // 应收单创建
	}
	/**
	 * @author: houyuhang
	 * @date: 2023/03/09
	 * @return
	 * @description: 项目开标功能上线时间
	 * @modify:
	 */
	public static final String InvoiceApplyOnlineDate = "2023-02-10";



	/**
	 * @author: wudaliang
	 * @date: 2021-09-11
	 * @description: 工程系统通过数据服务平台获取CRM数据的token
	 * @return:
	 * @modify:
	 */
	public static final String CFOFORCONTRACT = "CFO";

	// 单据审批状态
	public static final int  INNAAPPROVAL = 1;
}
